package lab02.Text04;

public class Employee {
    //属性:员工姓名、员工号码、员工基本薪水、员工薪水增长额
    String name;
    String number;
    float salary;
    float increase;
    /*行为:获取员工姓名、获取员工号码、获取员工基本薪水、
    计算薪水增长额及计算增长后的工资总额*/
    String getName(){return name;}
    String getNumber(){return number;}
    float getSalary(){return salary;}
    float getIncrease(){return increase;}
    float sum(){return salary+increase;}
    //构造函数
    //main函数
    public static void main(String[] args) {

    }
}